import dotenv
import os 
from neo4j import GraphDatabase

uri = "neo4j+s://your-aura-instance.databases.neo4j.io"
user = "your_username"
password = "your_password"
 
driver = GraphDatabase.driver(uri, auth=(user, password))

def run_query(tx):
    result = tx.run("MATCH (n) RETURN n LIMIT 25")
    for record in result:
        print(record["n"].as_dict())
 
with driver.session() as session:
    session.write_transaction(run_query)